package com.easy.user.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 浏览记录实体类
 *
 * @author RuoYu
 * @date 2022/12/01
 */
@ApiModel("浏览记录实体类")
@TableName(value = "ord_history")
public class History implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("房屋对象")
    private Long rid;

    @ApiModelProperty("浏览时间")
    private LocalDateTime date;

    @ApiModelProperty("所属用户")
    private Long uid;

    public Long getRid() {
        return rid;
    }

    public void setRid(Long rid) {
        this.rid = rid;
    }

    public LocalDateTime getDate() {
        return date;
    }

    public void setDate(LocalDateTime date) {
        this.date = date;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }
}
